import { request } from '../request'

export function Register(data) {
  return request({
    url: '/register',
    method: 'post',
    data
  })
}

export function EmailRule(params) {
  return request({
    url: '/email',
    params
  })
}
